import { request } from 'umi';
/** 获取当前的用户 GET /api/currentUser */

export async function list(options) {
  return request('/admin/order/list', {
    method: 'GET',
    params: { ...options }
    // ...(options || {}),
  });
}

export async function detail(options) {
  return request('/admin/order/detail', {
    method: 'GET',
    params: { ...options }
    // ...(options || {}),
  });
}